SGSetFrameRate
TheSGSetFrameRate
function allows the sequence grabber to specify a video channel's frame rate for recording.
pascal ComponentResult SGSetFrameRate (SGChannel c, Fixed frameRate);
c
- Identifies the channel connection for this operation.
frameRate
- Specifies the desired frame rate. If this parameter is set to 0, use your channel's default frame rate. Typically, this corresponds to the fastest rate that your channel can support.
DESCRIPTION
TheSGSetFrameRate
function allows the sequence grabber to control a video channel's frame rate. Note that the digitizing hardware may not be able to support the full rate that the sequence grabber specifies. If the rate is too high, operate at the highest rate you can support.SPECIAL CONSIDERATIONS
Note that this function will not be called when you are recording.RESULT CODES
paramErr -50 Invalid parameter value cantDoThatInCurrentMode -9402 Request invalid in current mode SEE ALSO
The sequence grabber can retrieve your channel's current frame rate by calling yourSGGetFrameRate
function, which is described next.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help